﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Ymatou.File.Lib
{
    public static class MvcHelper
    {
        /// <summary>
        /// 返回错误信息
        /// </summary>
        /// <param name="controller"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        public static string ErrorMessage(this Controller controller, string message)
        {
            return "Error:" + message;
        }
    }
}